{assign var="title" value="Email templates"}
{include file="header.tpl.html"}

<form action="{$smarty.server.REQUEST_URI}" method="post" class="form ajax">

<div class="content">
	
	<div class="toolbar">
		<ul class="buttons">
			<li><a href="#" class="save disabled"><span style="background-image: url(/admin/backend/resources/images/icons/accept.png)">Save</span></a></li>
		</ul>
	</div>
	
	<div class="content-below-toolbar">
		
		<div class="inner-content">
			
			<div class="breadcrumb">
				<a href="/admin/global/email-templates/">Email templates</a> {$template.guid}
			</div>
			
			<p>
				<label for="description">Description</label>
				<input type="text" name="template[description]" value="{$template.description|escape:"html":"UTF-8"}" id="description" />
			</p>
			
			<p>
				<label for="default_subject">Subject</label>
				<input type="text" name="template[default_subject]" value="{$template.default_subject|escape:"html":"UTF-8"}" id="default_subject" />
			</p>
			<p>
				<label for="default_from">Sender email</label>
				<input type="text" name="template[default_from]" value="{$template.default_from|escape:"html":"UTF-8"}" id="default_from" />
			</p>
			<p>
				<label for="default_from_name">Sender name</label>
				<input type="text" name="template[default_from_name]" value="{$template.default_from_name|escape:"html":"UTF-8"}" id="default_from_name" />
			</p>
			<p>
				<label for="default_to">Recipient email</label>
				<input type="text" name="template[default_to]" value="{$template.default_to|escape:"html":"UTF-8"}" id="default_to" />
			</p>
			<p>
				<label for="default_to_name">Recipient name</label>
				<input type="text" name="template[default_to_name]" value="{$template.default_to_name|escape:"html":"UTF-8"}" id="default_to_name" />
			</p>
			
			<p>
				<label for="body_text">Text body</label>
				<textarea name="template[body_text]" id="body_text" rows="8" cols="40" style="font-size: 90%; font-family: monospace">{$template.body_text|escape:"html":"UTF-8"}</textarea>
			</p>
			
			<p>
				<label for="body_html">HTML body</label>
				<textarea name="template[body_html]" id="body_html" rows="8" cols="40" style="font-size: 90%; font-family: monospace">{$template.body_html|escape:"html":"UTF-8"}</textarea>
			</p>
			
		</div>
		
	</div>
	
</div>



</form>


{include file="footer.tpl.html"}